package com.hashwolf.newpipe.settings;


import android.content.SharedPreferences;
import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.preference.PreferenceFragmentCompat;
import androidx.preference.PreferenceManager;

import com.hashwolf.newpipe.MainActivity;

public abstract class BasePreferenceFragment extends PreferenceFragmentCompat {
    protected final String TAG = BasePreferenceFragment.class.toString();
    protected static final Boolean DEBUG = MainActivity.DEBUG;

    SharedPreferences defaultPreferences;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        defaultPreferences = PreferenceManager.getDefaultSharedPreferences(requireActivity());
        super.onCreate(savedInstanceState);
    }
}
